package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.PromotionSupplier;
import com.jsh.erp.datasource.entities.PromotionSupplierExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PromotionSupplierMapper {
    long countByExample(PromotionSupplierExample example);

    int deleteByExample(PromotionSupplierExample example);

    int deleteByPrimaryKey(String id);

    int insert(PromotionSupplier record);

    int insertSelective(PromotionSupplier record);

    List<PromotionSupplier> selectByExample(PromotionSupplierExample example);

    PromotionSupplier selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PromotionSupplier record, @Param("example") PromotionSupplierExample example);

    int updateByExample(@Param("record") PromotionSupplier record, @Param("example") PromotionSupplierExample example);

    int updateByPrimaryKeySelective(PromotionSupplier record);

    int updateByPrimaryKey(PromotionSupplier record);
}